<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="FrmListadoRecibos.aspx.vb" Inherits="TGB.FrmListadoRecibos" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Listado de Recibos</title>
    <link href="TGB.css" rel="stylesheet" type="text/css"  />
</head>
<body>
    <form id="form1" runat="server">
    <div title="Listado de Recibos">
        <table style="width :640px ; height:500px; background-image: url(imagenes/bg1.jpg); background-repeat: repeat-x; border-collapse: separate;">
            <tr>
                <td style="background-repeat: repeat-x; height: 10px; width: 699px;" align="center" valign="middle" colspan="2">
                    <img src="../imagenes/EitiSoft.jpg" style="width: 272px; height: 88px" />&nbsp;</td>
            </tr>
            <tr>
                <td align="center" colspan="2" style="background-repeat: repeat-x; height: 10px; width: 699px;"
                    valign="middle">
                    <asp:Label ID="Label1" runat="server" Style="font-weight: bold; font-size: 16px;
                        font-family: calibri" Text="Listado de Recibos" Width="248px"></asp:Label></td>
            </tr>
            <tr>
                <td align="center" colspan="2" style="background-position: left center; background-image: url(imagenes/EitiSoft.jpg);
                    height: 1px; background-color: transparent; width: 699px;" valign="middle">
                    &nbsp;<table style="width: 420px">
                        <tr>
                            <td style="width: 61px" >
                                <asp:Label ID="Label2" runat="server" Text="Cliente :" CssClass="campotxt"></asp:Label></td>
                            <td style="width: 249px" >
                                <asp:DropDownList ID="CboClientes" runat="server" AppendDataBoundItems="True" AutoPostBack="True"
                                    Width="240px" CssClass="campotxt">
                                </asp:DropDownList></td>
                            <td style="width: 105px" >
                                <asp:LinkButton ID="LnkBuscar" runat="server" Font-Overline="False" Font-Size="10pt">Buscar</asp:LinkButton></td>
                        </tr>
                    </table>
                    <asp:HiddenField ID="HfIdFactura" runat="server" />
                </td>
            </tr>
            <tr>
                <td style="width: 1648px; height: 160px;" align="center" valign="middle">
                    <asp:GridView ID="GridRecibo" runat="server" AutoGenerateColumns="False" CellPadding="4"
                        ForeColor="Black" GridLines="Horizontal" Height="48px" PageSize="8" Width="680px" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" AllowPaging="True" CellSpacing="1" style="text-align: center">
                        <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
                        <Columns>
                            <asp:TemplateField>
                                <ItemTemplate>
                                    <asp:LinkButton ID="LnkSeleccion" runat="server">Detalle</asp:LinkButton>&nbsp;
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Recibo">
                                <ItemTemplate>
                                    <asp:Label ID="LblNumero" runat="server" Text='<%# Bind("Numero") %>'></asp:Label>
                                    <asp:HiddenField ID="HFIdRecibo" runat="server" Value='<%# bind("IdRecibo") %>' />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Fecha">
                                <ItemTemplate>
                                    <asp:Label ID="LblFecha" runat="server" Text='<%# Bind("Fecha") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Total">
                                <ItemTemplate>
                                    <asp:Label ID="LblTotal" runat="server" Text='<%# Bind("Total") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Cliente">
                                <ItemTemplate>
                                    <asp:Label ID="LblRazonSocial" runat="server" Text='<%# Bind("RazonSocial") %>'></asp:Label>
                                    <asp:HiddenField ID="HFCodigoCliente" runat="server" Value='<%# bind("CodigoCliente") %>' />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Estado">
                                <ItemTemplate>
                                    <asp:Label ID="LblEstado" runat="server" Text='<%# Bind("Estado") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField>
                                <ItemTemplate>
                                    <asp:LinkButton ID="LnkAnular" runat="server" CommandName="Anular">Anular</asp:LinkButton>&nbsp;
                                    <asp:LinkButton ID="LnkImputaciones" runat="server" CommandName="Imputaciones">Imputaciones</asp:LinkButton>&nbsp;
                                </ItemTemplate>
                            </asp:TemplateField>                            
                        </Columns>
                        <RowStyle Font-Names="Calibri" Font-Size="12px" />
                        <SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
                        <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" Font-Names="Calibri" Font-Size="12px" />
                    </asp:GridView>
                    &nbsp;<asp:LinkButton ID="BtnImprimir" runat="server" Font-Overline="False" Font-Size="10pt" Visible="False">Reporte</asp:LinkButton>
                    &nbsp;&nbsp;</td>
            </tr>
            <tr>
                <td align="left" style="width: 1648px" valign="middle">
                    <img src="../imagenes/LogoEiti.JPG" style="width: 24px; height: 24px" /></td>
            </tr>
            <tr>
                <td align="right" colspan="2" valign="middle" style="height: 10px; background-repeat: repeat-x; background-image: url(imagenes/bg.jpg); width: 699px;">
                
                    <%--<a href="tgb.master" onclick="return GB_showCenter('Google', this.href)">Ingresar al Sistema</a>--%>
                    &nbsp;
                   
                   </td>
    </tr>
        </table>



    
    </div>

    </form>
</body>
</html>
